package com.example.demo;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class BlogProperties {
	@Value("${name}")
	private String name;
	@Value("${title}")
	private String title;
	@Value("${desc}")
	private String desc;
	@Value("${random.value}")
	private String randomValue;
	@Value("${random.int}")
	private String randomInt;
	@Value("${random.long}")
	private String randomLong;
	@Value("${random.int(10)}")
	private String random10;
	@Value("${random.int[10,20]}")
	private String random1020;
	@Value("${random.uuid}")
	private String randomUuid;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public String getRandomValue() {
		return randomValue;
	}
	public void setRandomValue(String randomValue) {
		this.randomValue = randomValue;
	}
	
	public String getRandomInt() {
		return randomInt;
	}
	public void setRandomInt(String randomInt) {
		this.randomInt = randomInt;
	}
	public String getRandomLong() {
		return randomLong;
	}
	public void setRandomLong(String randomLong) {
		this.randomLong = randomLong;
	}
	public String getRandom10() {
		return random10;
	}
	public void setRandom10(String random10) {
		this.random10 = random10;
	}
	public String getRandom1020() {
		return random1020;
	}
	public void setRandom1020(String random1020) {
		this.random1020 = random1020;
	}
	public String getRandomUuid() {
		return randomUuid;
	}
	public void setRandomUuid(String randomUuid) {
		this.randomUuid = randomUuid;
	}

	

}
